﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using SPCAFContrib.Rules.Code;
using SPCAFContrib.Rules.Control;
using SPCAFContrib.Rules.MasterPage;
using SPCAFContrib.Rules.Page;
using SPCAFContrib.Test.Common;

namespace SPCAFContrib.Test.SPQuery
{
    [TestClass]
    public class SetAutoGenerateColumnsForSPGridViewTest
    {
        [TestMethod]
        public void CheckSetAutoGenerateColumnsForSPGridView()
        {
            //Assert.AreEqual(true, SPCAFTestHelper.ExecuteTest(new[] { new SetAutoGenerateColumnsForSPGridViewInPage() }));
            //Assert.AreEqual(true, SPCAFTestHelper.ExecuteTest(new[] { new SetAutoGenerateColumnsForSPGridViewInControl() }));
            Assert.AreEqual(true, SPCAFTestHelper.ExecuteTest(new[] { new SetAutoGenerateColumnsForSPGridViewInMasterPage() }));
        }
    }
}
